package decorativePattern

class Taxi : OperatingCar {

    init {
        register()
        run()
    }

    override fun register() {
        PrintUtil.print("Taxi 注册运营牌照")
    }

    override fun run() {
        PrintUtil.print("Taxi run")
    }
}